
<%@ page import="weather.Orders" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'orders.label', default: 'Orders')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-orders" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-orders" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list orders">
			
				<g:if test="${ordersInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="orders.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${ordersInstance}" field="name"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.address}">
				<li class="fieldcontain">
					<span id="address-label" class="property-label"><g:message code="orders.address.label" default="Address" /></span>
					
						<span class="property-value" aria-labelledby="address-label"><g:fieldValue bean="${ordersInstance}" field="address"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.timeCherry}">
				<li class="fieldcontain">
					<span id="timeCherry-label" class="property-label"><g:message code="orders.timeCherry.label" default="Time Cherry" /></span>
					
						<span class="property-value" aria-labelledby="timeCherry-label"><g:fieldValue bean="${ordersInstance}" field="timeCherry"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.timeCurly}">
				<li class="fieldcontain">
					<span id="timeCurly-label" class="property-label"><g:message code="orders.timeCurly.label" default="Time Curly" /></span>
					
						<span class="property-value" aria-labelledby="timeCurly-label"><g:fieldValue bean="${ordersInstance}" field="timeCurly"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.timeGenuine}">
				<li class="fieldcontain">
					<span id="timeGenuine-label" class="property-label"><g:message code="orders.timeGenuine.label" default="Time Genuine" /></span>
					
						<span class="property-value" aria-labelledby="timeGenuine-label"><g:fieldValue bean="${ordersInstance}" field="timeGenuine"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.timeWenge}">
				<li class="fieldcontain">
					<span id="timeWenge-label" class="property-label"><g:message code="orders.timeWenge.label" default="Time Wenge" /></span>
					
						<span class="property-value" aria-labelledby="timeWenge-label"><g:fieldValue bean="${ordersInstance}" field="timeWenge"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.timeWhite}">
				<li class="fieldcontain">
					<span id="timeWhite-label" class="property-label"><g:message code="orders.timeWhite.label" default="Time White" /></span>
					
						<span class="property-value" aria-labelledby="timeWhite-label"><g:fieldValue bean="${ordersInstance}" field="timeWhite"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.timeSawdust}">
				<li class="fieldcontain">
					<span id="timeSawdust-label" class="property-label"><g:message code="orders.timeSawdust.label" default="Time Sawdust" /></span>
					
						<span class="property-value" aria-labelledby="timeSawdust-label"><g:fieldValue bean="${ordersInstance}" field="timeSawdust"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.priceCherry}">
				<li class="fieldcontain">
					<span id="priceCherry-label" class="property-label"><g:message code="orders.priceCherry.label" default="Price Cherry" /></span>
					
						<span class="property-value" aria-labelledby="priceCherry-label"><g:fieldValue bean="${ordersInstance}" field="priceCherry"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.priceCurly}">
				<li class="fieldcontain">
					<span id="priceCurly-label" class="property-label"><g:message code="orders.priceCurly.label" default="Price Curly" /></span>
					
						<span class="property-value" aria-labelledby="priceCurly-label"><g:fieldValue bean="${ordersInstance}" field="priceCurly"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.priceGenuine}">
				<li class="fieldcontain">
					<span id="priceGenuine-label" class="property-label"><g:message code="orders.priceGenuine.label" default="Price Genuine" /></span>
					
						<span class="property-value" aria-labelledby="priceGenuine-label"><g:fieldValue bean="${ordersInstance}" field="priceGenuine"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.priceWenge}">
				<li class="fieldcontain">
					<span id="priceWenge-label" class="property-label"><g:message code="orders.priceWenge.label" default="Price Wenge" /></span>
					
						<span class="property-value" aria-labelledby="priceWenge-label"><g:fieldValue bean="${ordersInstance}" field="priceWenge"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.priceWhite}">
				<li class="fieldcontain">
					<span id="priceWhite-label" class="property-label"><g:message code="orders.priceWhite.label" default="Price White" /></span>
					
						<span class="property-value" aria-labelledby="priceWhite-label"><g:fieldValue bean="${ordersInstance}" field="priceWhite"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.priceSawdust}">
				<li class="fieldcontain">
					<span id="priceSawdust-label" class="property-label"><g:message code="orders.priceSawdust.label" default="Price Sawdust" /></span>
					
						<span class="property-value" aria-labelledby="priceSawdust-label"><g:fieldValue bean="${ordersInstance}" field="priceSawdust"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.time}">
				<li class="fieldcontain">
					<span id="time-label" class="property-label"><g:message code="orders.time.label" default="Time" /></span>
					
						<span class="property-value" aria-labelledby="time-label"><g:fieldValue bean="${ordersInstance}" field="time"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.total}">
				<li class="fieldcontain">
					<span id="total-label" class="property-label"><g:message code="orders.total.label" default="Total" /></span>
					
						<span class="property-value" aria-labelledby="total-label"><g:fieldValue bean="${ordersInstance}" field="total"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.bfCherry}">
				<li class="fieldcontain">
					<span id="bfCherry-label" class="property-label"><g:message code="orders.bfCherry.label" default="Bf Cherry" /></span>
					
						<span class="property-value" aria-labelledby="bfCherry-label"><g:fieldValue bean="${ordersInstance}" field="bfCherry"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.bfCurly}">
				<li class="fieldcontain">
					<span id="bfCurly-label" class="property-label"><g:message code="orders.bfCurly.label" default="Bf Curly" /></span>
					
						<span class="property-value" aria-labelledby="bfCurly-label"><g:fieldValue bean="${ordersInstance}" field="bfCurly"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.bfGenuine}">
				<li class="fieldcontain">
					<span id="bfGenuine-label" class="property-label"><g:message code="orders.bfGenuine.label" default="Bf Genuine" /></span>
					
						<span class="property-value" aria-labelledby="bfGenuine-label"><g:fieldValue bean="${ordersInstance}" field="bfGenuine"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.bfSawdust}">
				<li class="fieldcontain">
					<span id="bfSawdust-label" class="property-label"><g:message code="orders.bfSawdust.label" default="Bf Sawdust" /></span>
					
						<span class="property-value" aria-labelledby="bfSawdust-label"><g:fieldValue bean="${ordersInstance}" field="bfSawdust"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.bfWenge}">
				<li class="fieldcontain">
					<span id="bfWenge-label" class="property-label"><g:message code="orders.bfWenge.label" default="Bf Wenge" /></span>
					
						<span class="property-value" aria-labelledby="bfWenge-label"><g:fieldValue bean="${ordersInstance}" field="bfWenge"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ordersInstance?.bfWhite}">
				<li class="fieldcontain">
					<span id="bfWhite-label" class="property-label"><g:message code="orders.bfWhite.label" default="Bf White" /></span>
					
						<span class="property-value" aria-labelledby="bfWhite-label"><g:fieldValue bean="${ordersInstance}" field="bfWhite"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${ordersInstance?.id}" />
					<g:link class="edit" action="edit" id="${ordersInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
                                        <g:actionSubmit class="button" action="generatePDF" value="Generate PDF" controller="PdfGenerator"/>
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
